Reverse Bits | 190. Leetcode | Python Solution